﻿using System.Collections.Generic;

namespace Lucy.Engine.Framework
{
    public class Layer
    {
        public List<GameObject> GameObjects { get; private set; }

        public string Name { get; set; }

        public Layer(string name)
        {
            Name = name;
            GameObjects = new List<GameObject>();
        }

        public void AddGameObject(GameObject gameObject)
        {
            GameObjects.Add(gameObject);
        }
    }
}
